package com.ctshk.rpc.user.req;

import com.ctshk.common.model.PageReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 *  用户消息PageREQ
 * </p>
 *
 * @author 李新科
 * @date 2021/5/17 11:35
 */
@Data
@Accessors(chain = true)
@ApiModel(value="UserMessagePageReq对象", description="用户消息通知分页查询req")
public class UserMessagePageReq extends PageReq implements Serializable {

    @ApiModelProperty(value="用户id")
    private Long userId;

    @ApiModelProperty(value="类型,0：订单通知,1：系统通知,枚举类InformType",required = true)
    private Integer type;

    @ApiModelProperty(value="标题")
    private String title;

    @ApiModelProperty(value="内容")
    private String content;

    @ApiModelProperty(value="是否已读")
    private Integer isRead;
}
